package com.banksoft.admin.dao;

import com.banksoft.admin.entity.UserAddress;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by vanjoger on 2017/1/2.
 */
@Repository
public interface UserAddressDao {
    List<UserAddress> listByUserId(@Param("userId") String userId);

    List<UserAddress> findByUserIdAndAreaId(@Param("userId") String openId, @Param("area") String area);
}
